US Senate confirms Pam Bondi as attorney general