New deal establishes a hotline Chinese and Philippine presidents can use to stop clashes at sea