If Tokyo can’t count on Washington, forging pragmatic new alliances with former foes increasingly makes sense