Republicans, Democrats work to preempt fraud claims ahead of election