The new defense secretary faced intense questioning about past drinking habits during his Senate confirmation hearing.