Awkward exchanges about the defense secretary hopeful’s past were plentiful as Democrats went after the first embattled Trump pick to face a confirmation hearing.