and she sent members of her state’s National Guard to Texas to address the immigration crisis — a contentious move that Mr. Trump cited in picking her for homeland security secretary.