Constrained Pure Nash Equilibria in Polymatrix Games