If I had a female kill 2 litters, they were snake food. If they have a large enough cage, proper food and water, and no stress, and they still kill them, there's something wrong with them, and lots of times, it can be passed down. Any babies that survive will be prone to killing their own litters.
Unless you have something wrong with the husbandry, just get rid of her and save yourself some headache.