Kernels of Mallows Models under the Hamming Distance for solving the Quadratic Assignment Problem