Senate votes to confirm Pam Bondi as attorney general