China takes measures to keep the yuan from plummeting further, stabilizing markets after 2019’s worst rout