Senate confirms Merrick Garland to be US attorney general