President Trump’s tentative deal with Democrats has elevated the one issue that most fiercely divides Republicans, threatening the party’s broader agenda.