Judge backs electoral board's removal of Sandefur from ballot