Post partum should be cared about BUT MURDER should be prosecuted.
Adults are responsible for their actions no matter what is bothering them. Any culture that repudiates this fact does so at its peril.
The "insanity defense" has ample scientific basis and is generally recognized in law.