Senate confirms Merrick Garland as attorney general