The government has announced plans to outlaw a cooking method that is described by charities as "excruciating" and akin to "torture".