"She was murdered because she didn't produce a male heir.'
That's no reason to kill her. How was she supposed to be able to control what sex the babies that came out of her were? Besides, an heir is an heir as far as I'm concerned, regardless of whether the heir is male or female.