Inside story on legal efforts to deal with former immigration detainees released after High Court ruling