Nepal PM quits amid political uncertainty