DeletePrefix: if root is actually a symlink, just delete the symlink

This is consistent with what happens with symlinks embedded in the
prefix itself.

Shall we warn the user that some things may not have been cleared is
such situation?