connect_and_remove_transfer_files: delete full transfer from ES

Previously, this function queried the database for a list of files in
the transfer, and removed those specifically. However, since the
search index contains many files that aren't in the database (such
as logs and metadata files), this left dangling files that could
never be removed.

Instead query the database for transfers, then delete all files in ES
from each of those transfers.

refs #7357
use generic version of elasticSearch remove files method

refs #7357

When deleting files from the ElasticSearch index, take
advantage of the change in commit c0eb597c630a482ffcb8b2056b04f3f605265114
that provides a more generic remove method.