Labour wins slim majority in 1950 general election