The UN says up to 50,000 people may have fled the violence in the latest episode of upheaval in South Sudan.