Attempt to bring back zfs_unlinked_drain() from IllumOS.
Remove dead code from past debugging