The rewriter can add coercion holes to the family application cache
`GHC.Tc.Solver.Rewrite.rewrite_exact_fam_app` states a precondition for adding to the type family application cache: the reduction must not contain any coercion holes.
```hs
-- Precondition: True ==> input coercion has
-- no coercion holes
```
However, the current logic does not guarantee this. It _tries_ to, with the `isGiven inert_ev` logic, but that does not take into account coercion holes that may have arisen from rewriting the arguments.
There are two tasks here:
1. Better document this precondition, providing a fleshed out rationale. Perhaps @rae could help contribute an explanation?
2. Fix the bug identified here.
@adamgundry discovered this bug while reviewing @hsyl20's attempt at coercion zapping in [this branch](https://gitlab.haskell.org/hsyl20/ghc/-/commits/hsyl20/typefamily-slow).
issue