Update transitive-closure-with-paths.xqy