WayEditor: after nodes resurrection, call updateModifiedFlag() on all affected ways

There's a chance that a way is no longer modified because added nodes were
precisely mapped to the corresponding old nodes from original way.