The power line was "glued" to the new footpath with shared nodes. It's not a serious problem and I've now unglued them (not sure how to do that with the iD editor).

If the new footpath is a Public Right of Way (PRoW), you may find this useful:
https://wiki.openstreetmap.org/wiki/User:Rjw62/PRoW_Tagging