edit_file_tool: Fail when edit location is not unique (#32056)

When `<old_text>` points to more than one location in a file, we used to
edit the first match, confusing the agent along the way. Now we will
return an error, asking to expand `<old_text>` selection.

Closes #ISSUE

Release Notes:

- agent: Fixed incorrect file edits when edit locations are ambiguous
04716a0e4aOleksiy Syvokon committed on 6/4/2025, 10:04:01 AM· committed by GitHubparent5e38915
3 files changedLine totals unavailable