<p>The prime minister called a snap election after MPs rejected planned changes to the country's housing laws.</p>