Thousands of prisoners trapped on "inhumane" indefinite jail terms compared to psychological torture have been offered fresh hope of release after Andy Burnham ordered a review of the system that has left many languishing in prison decades after their crimes.