Core: `ignore_unavailable` shouldn't ignore closed indices

The `ignore_unavailable` request setting shouldn't ignore closed indices if a single index is specified in a search or broadcast request.

PR for #7153
I think we can remove this `if` completely, cause we call the same method given the same input at the beginning of the method, this condition will never be true here.