MPS-19268 Code Generation throws AssertionError: refactor way root are registered so that it's easy to pass more information about root addition context. treat roots created with root map rule that keepRoot==true as brand-new roots, so that we don't remove kept original node accidentally.