Changing mail-ballot rules weeks before the midterms would have disenfranchised military and overseas voters