It had appeared evident to most that Prodi had lost his slim working majority in the Senate on Monday when Mastella announced that he was pulling out of the coalition following a magistrate 's filing of influence-peddling charges against him and his local politician wife .