fix: incorrect proof term in `grind linarith`

This PR fixes an incorrect proof term constructed by `grind linarith`, as reported in #9485.

closes #9485
2 files changed