The pact is the latest struck by Manila as it builds a coalition of allies to deter what it sees as Chinese aggression in the South China Sea.