Hide internal stack when using pytest.approx() in bool context (#9394)
This makes the error traceback point directly to the offending usage, rather
than to the internal `Approx.__bool__` method.
(cherry picked from commit 3ba9c01f9bfd442f2bcc4711e15612aa5b518cc3)