The decision to pull out of South Sudan contrasts with China’s ongoing commitment to the UN mission