Everyone should avoid triumphing at China's expense if a tribunal ruling on a China-Philippines territorial dispute hands Beijing a bitter pill to swallow.