Former judge pleads guilty to felony theft