How the Supreme Court abortion ruling could shape midterm elections