When removing unlinked replicas, take into account the case where a
staging request had been submitted, but the staging failed for various
reasons (inconsistency between SRM database and actual storage, SE
banned after request was submitted etc).

These unlinked replicas were not cleaned from the DB, only the ones with
expired pin time, or a missing staging request.