v.25.7Bug Fix (user-visible misbehavior in an official stable release)

Fix DatabaseReplicated::getClusterImpl

Fix DatabaseReplicated::getClusterImpl. If the first element (or elements) of hosts has id == DROPPED_MARK and there are no other elements for the same shard, the first element of shards will be an empty vector, leading to std::out_of_range. #82093 (Miсhael Stetsyuk).