Vanishing products of one-forms and critical points of master functions