Assign cohorts to groups in the instructor dashboard

TNL-653
@talbs I've made an adjustment here, but not in the UX template - in the `.underscore` template, which is why this comment is still active.