Harden rector matching precision to prevent over-application
### Problem/Motivation
Tightens matching guards and conditions across multiple rectors to prevent over-broad transformations. Adds boundary checks, type guards, and guards on variable names and method calls to reduce false positives.
### Work items
- Commit(s): [6ac159df0c](https://github.com/palantirnet/drupal-rector/commit/6ac159df0cdd), [0b05014cad](https://github.com/palantirnet/drupal-rector/commit/0b05014cad6b), [b6d580d3db](https://github.com/palantirnet/drupal-rector/commit/b6d580d3db3f), [331051df5f](https://github.com/palantirnet/drupal-rector/commit/331051df5f40), [acb7c70935](https://github.com/palantirnet/drupal-rector/commit/acb7c70935cd), [e05d7997a7](https://github.com/palantirnet/drupal-rector/commit/e05d7997a7b2), [2f8c2d14ef](https://github.com/palantirnet/drupal-rector/commit/2f8c2d14efe4)
### Credit
- Implemented by: @bbrala
---
*Filed retroactively as part of the Drupal 12 rector coverage effort. Closed as fixed; credit to be applied to the contributors listed above.*
*AI was used extensively to build this fix and to file this issue. See [Dries Buytaert: AI-generated Rector rules for Drupal](https://dri.es/ai-generated-rector-rules-for-drupal) and [Björn Brala: Drupal Rector rules are config, not code. Mostly.](https://www.linkedin.com/pulse/drupal-rector-rules-config-code-mostly-bj%C3%B6rn-brala-vfpwe/).*
issue