[Validator] Deprecated comparison constraints

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | partially #12300
| License       | MIT
| Doc PR        | -

I deprecated the constraints which can be easily replaced using the Expression constraint. Using just the Expression constraint means less constraints to learn while at the same time having more power, e.g. arithmetic or logical operators.