Republicans prepare for post-Election Day legal fights