How an impasse in the South China Sea drove the Philippines, US closer