The deadly fire broke out when the cargo ship was docked for repairs at a major shipping hub on China’s northeastern coast.