Remove invalid items on unlinkedlist

The default is to leave the items there for future attempts, but bad
z_id will most likely stay bad.

When we detect corrupt dir entry, remove it from unlinked