Pennsylvania county promises accurate tally after clerical error appears to flip votes for judges