Vanishing ideals over complete multipartite graphs