Submarine deal with Australia redefines Pacific balance of power