Sweden’s first female PM resigns hours after being elected