China’s consumer prices slipped into deflation for the second time this year, signaling weakness in domestic demand.