A judge has tossed out primary election results from Bridgeport, citing “mishandled” ballots.