The slump ends 16 straight months of growth and comes as Beijing steps up efforts to stem capital outflow.