Coroner calls for lessons to be learned following death of immigration detainee