In China, policy makers acted before a crisis erupted, deploying an array of tools to manage the pace of decline.