"Extract heading" should transform Heading links into Internal links (or links break!)

I just saw a similar feature request/bug report, but it is the mirror of this one: it mentions that links in the original file that point to the extracted section should be updated, too (my original post is about updating links in the new file—I had missed that the same issue exists in the original file too).