Nepal PM resigns after coalition gov't collapses