Fixed domtree update in function splitter when splitting entry nodes