Fix proposed by GPT 5.6 Sol. close #26016 Potentially close #22510 No concrete proof for the second one, though the described behavior matches and the step count explains why it's so difficult to find a repro. (cherry picked from commit 3bb46d3217)
3bb46d3217