Cleanup corresponding task history on task file update (#31720)

Closes https://github.com/zed-industries/zed/issues/31715

Release Notes:

- Fixed old task history not erased after task file update
406d975f39Kirill Bulatov committed on 5/29/2025, 11:02:59 PM· committed by GitHubparentcbed580
1 file changedLine totals unavailable