Robert F. Kennedy Jr. forged an alliance last year with then-candidate Donald Trump, and then benefited from the GOP Senate’s acquiescence to President Trump’s demands.