auld:
You are misreading subsection F, which states:
The mother may not be prosecuted for any criminal offense based on the performance of any act or procedure by a physician in violation of this section.
That section immunizes a woman against being charged for a crime where the doctor is violating the law.
It is not an immunization where the woman herself engages in infanticide.