fix: `lia` panic when variables are created during case-split search

This PR fixes a panic and infinite loop in `grind`'s `lia` model search.

New variables can be created during a case split, e.g., by nonlinear `%` propagation. `resetDecisionStack` rolled back the variables but kept their values in the assignment, so the next search indexed past the end of the variable arrays. The fix truncates the assignment to the restored variable count.

Closes #15622

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed