Prisoner's face burnt by boiling water in attack on day he was to be released