Fix potential subtraction overflow (#29697)

I saw this come up in an eval, where the LLM provided a start line of 0.

Release Notes:

- N/A
92dd6b67c7Richard Feldman committed on 4/30/2025, 10:13:37 PM· committed by GitHubparent38ede4b
1 file changedLine totals unavailable