An approaching primary election was a factor in Thursday’s Supreme Court decision to set aside a lower court’s ruling that ...