The mistaken release of a migrant sex offender happened against a backdrop of a prison system in “chaos” with staff ...