Some immigration detainees back in custody weeks after surprise release