fix: match against app fn for reducing recursor in `whnfCore` (#9090)

This PR fixes a bug in `whnfCore` where it would fail to reduce
applications of recursors/auxiliary defs.

Closes #9089
2 files changed