The voting machine programming error delayed official results, but officials reassured voters that their ballots were secure and would be counted.