[ci] Exclude tests by filename when merging manifests (#89093)
Follow-up to #88824.
When merging multiple test manifests, a test file may be included in `suites` by one manifest, but excluded in `rules` by another. This change ensures that if a test file is excluded by filename (and not by pattern), the exclusion takes precedence over the inclusion.
Specifically, this allows us to skip Cache Components deploy tests via the `exclude` rules in `cache-components-tests-manifest.json`, even though those may be included in the `suites` of `deploy-tests-manifest.json`.
Alternatively, we could maintain separate deploy tests manifests for Cache Components and non-Cache Components deploy tests.