The Lattice of Definable Equivalence Relations in Homogeneous n-Dimensional Permutation Structures