I think you've answered your own question there - pretty much everyone agrees that
pedophilia should be against the law, so illegal it stays. Abortion is a wedge issue, pretty much nobody can come to an agreement on it, so you'd be criminalizing something that people don't see in a clearcut light.