That's true but you alleged that the legislation was immoral and intent is a basic tenet of analyzing the morality of an act.
I agree that existing law allowing abortion is immoral. We have many immoral laws.
But in the face of immoral laws allowing abortion, it is not immoral to restrict the reach of those laws if their repeal cannot be immediately accomplished. Again, to not limit their reach when it's possible is in itself immoral.
This one is another one. Why do you want to add more?
It is possible to limit their reach without doing things that are immoral and unconstitutional.
But again, if you have the governmental power to limit their reach, you have the governmental power to cut off the murderous arm.