The UN Security Council is ending its visit to South Sudan with higher hopes after the government agreed to the deployment of 4,000 additional UN troops.