Update transitive-closure-with-paths.xqy

Made so that every path the the triple is displayed not just the shortest one.