The repeated warnings of primary challenges from Trump and many in his base have GOP lawmakers fearing it could undermine ambitious plans to enact his agenda.