China’s factory activity expanded for a ninth straight month in March but at a softer pace, a survey found.