Defeated by Labour Party in General Election and resigns as Prime Minister