Councillor who earned a salary while in jail for more than a year, axed