PR #12046: Use HloPredicateTrue and HloPredicateFalse
PR #12046: Use HloPredicateTrue and HloPredicateFalse

Imported from GitHub PR https://github.com/openxla/xla/pull/12046

`xla/utils.h` defines the following functions
```
inline bool HloPredicateTrue(const HloInstruction*) { return true; }
inline bool HloPredicateFalse(const HloInstruction*) { return false; }
```

We can use them instead of inline lambdas 
```
[](const HloInstruction*) { return true; }
[](const HloInstruction*) { return false; }

```
Copybara import of the project:

--
723c5a9525a5cf3d540b57601c31373e94992673 by Alexander Pivovarov <pivovaa@amazon.com>:

Use HloPredicateTrue and HloPredicateFalse

Merging this change closes #12046

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/12046 from apivovarov:hlo_pred 723c5a9525a5cf3d540b57601c31373e94992673
