Nepal's prime minister KP Sharma Oli has resigned as anti-corruption demonstrations continue to rage. It comes a day after 19 people died in violent protests triggered by a social media ban.