ncurses: when processing 'd' command, do not mark files for deletion
unless at least one file in group has been chosen to be preserved.
Removed some redundant code.