She lost her majority and was branded a "dead woman walking". But it wasn't just Theresa May who had to pay out big