Voluntarily causing grievous hurt to extort confession, or to compel restoration of property