In a good sign for China's struggling economy, factory activity grows for the first time in 6 months