China stocks escaped much of the latest sell-off. Signals for whether to buy