Fix pairs of almost-adjacent hunks toggling together (#24355)

Release Notes:

- Fixed a bug where toggling a diff hunk that immediately precedes
another hunk would act on both hunks
d97adfc540Cole Miller committed on 2/7/2025, 4:18:59 AM· committed by GitHubparenta42e040
3 files changedLine totals unavailable