HMM cuts losses, warns of South Korea-Japan tensions