destroy assignments if a course is destroyed