legal cruelty definition