Chinese leader Xi Jinping ordered local governments to take steps to prevent future ‘extreme cases’.