New Zealand Prime Minister Resigns