Republicans face a balancing act on immigration