A Tory partnership with the Liberal Democrats has wiped out the anti-Conservative majority at a stroke.