Britain's parliament has voted overwhelmingly in favour of an early general election to be held on June 8.