Murdering an adulterer used to be called a crime of passion and at least at a point in the 20th century, it was justifiable homicide in America.
Murdering a rapist wouldn’t require a defense of temporary insanity. What’s the status on the case in Texas where the father killed the farmhand who’d molested his daughter?