fix: double `reset` bug at `ResetReuse` (#4028)

We conjecture this is the cause for the segfaults when compiling Mathlib
with #4006
4 files changed