Republicans are encountering early headaches in Senate races viewed as pivotal to maintaining the party’s majority in next year’s midterm elections, with recruitment failures, open primaries, infighting and a president who has been sitting on the sidelines.