Australia in deal for nuclear submarines