Nepal prime minister quits after deaths at protests sparked by social media ban