Three lessons from North Carolina’s tainted election — and what comes next