B.C. shipyard embroiled in legal battle over New Zealand warship upgrades