Following The Hague's ruling, heightened tensions could endanger Beijing's ties with Southeast Asia and hurt President Xi's international credibility.