BAIN: Rework uninstall empty directory processing

Logic errors caused most files in "to be empty" directories to
actually not be removed at all.
BAIN: Rework empty directory logic for Annealing

Fixes #130