Instead of creating a new version
of N,
- Reclaim the old version previously removed
- Reset the reclaimed state's predecessor and depth information to that of
what would have been the new version
- Add the reclaimed state to the priority queue
Note that this is an optimization only if the new version is actually not
created.