Near-canonicalize trickier XSLT