legislation for representatives who left political parties of election