fix: `simp_all?` local declarations

This PR fixes a bug in `simp_all?` that caused some local declarations to be omitted from the `Try this:` suggestions.

closes #3519
2 files changed