The union representing resident assistants and peer mentors at the University of Massachusetts has filed a formal grievance against the university for allegedly violating a contract agreement stating that laid off workers must be compensated their full salaries.