The easiest way to do it in iD is to cut all tags of the way, then cut the way where needed and extend the way over it's new boundaries. Then you merge all ways of the new shape, paste the tags and remove any unneeded ways and nodes. I think I had it on video, DM if you want me to send it.