Britain’s former top judge said the IPP regime is a form of ‘preventative detention’ which has punished people ‘grossly excessively’