Simulation: Really delete a node when erased.

And got rid of the magic number and unnecessary class member.