Head of civil justice attacks UK’s shameful record on rehabilitation