Republican Sen. Joni Ernst, seen by Trump allies as a pivotal vote, said she would back the defense secretary pick.