The Senate confirmed Pam Bondi as U.S. attorney general Tuesday evening, putting a longtime ally of Donald Trump at the helm of a Justice Department.