Remove "working copy" code

When reinsertion fails, we only need to dump the table as it is before
the last failed reinsertion. We don't need to restore it back to the
state before the explicit insertion that triggered the chain of
reinsertions. So there's no need to work in a temporary buffer.