Republicans plan to sue McAuliffe over order restoring right