Motor vehicle departments across the country have accidentally allowed a small number of noncitizens to register to vote.