The best synonym to replace the word "labyrinth" in the sentence is "maze."
So the revised sentence would read: "The gardeners had constructed a complicated maze of pathways that led us through the hedges."
"Maze" conveys the idea of a complex network of paths, which fits well in the context of the sentence.