Reformulation of variational inequalities on a simplex and compactification of complementarity problems