CPF chair quits to fight by-election