improve destruction process for entities with attached children

In cases when this._children[i] cannot be destroyed, might as well
still delete the _parent link. (Might avoids memory leaks in some
weird cases.) Add code comment saying why the "if" is there.