The U.S. Senate on Wednesday narrowly confirmed Rachael Rollins as U.S. attorney in Massachusetts following a bruising partisan fight over her policies as a local prosecutor in Boston.