Abortion bans trip over states’ past efforts to fight Obamacare