Over the past year, investors in China’s U.S. dollar bonds had gotten used to the idea of defaults. As early as 2015, the government started allowing some state-owned enterprises to renege on their commitments, a painful but welcome step that helps differentiate healthy firms and troubled ones.