Properly deduplicate overlapping range formatting results (#62935)

Fixes https://github.com/zed-industries/zed/issues/62780

When formatting changed-only regions, we have received formatting
changes that are larger than the regions submitted.
Previous code merged only adjacent hunks in a single response, without
merging anything else, e.g. multiple responses' ranges that overlapped.

Release Notes:

- Fixed overlapping range format results duplicating the text
deb194b49bKirill Bulatov committed on 8/20/2026, 12:15:06 PM· committed by GitHubparentc3b365d
2 files changedLine totals unavailable