Australia and France settle over scrapped submarine deal