Various cases for rape, physical abuse and murder were prosecuted in court. What eventually replaced torturous mutilation as a type of punishment?