Abortion ruling's impact on elections