Investigations into the sudden deaths of two babies and an immigration detainee put Hamilton’s forensic pathology unit on a collision course with provincial leaders