Lawmakers meeting Friday voted almost unanimously to repeal legislation that would allow the former leader to participate in government and parliament sessions .