Australia signs $50 bln submarine contract with France after two-year squabble