Immigration tribunal to audit long-term detention practices