Divides over what GOP priorities should be ahead of this fall’s midterm elections are testing the relationship between President Trump and Senate Majority Leader John Thune.