Some Republican senators, who will consider his nomination to be defense secretary, shrugged off the accusations and defended him.