SSAS Modelling - many to many with one dimension
I would normalize the fact table into this form:

StudentId Level    Subject
34567     Major    Math  
34567     Minor 1  French
34567     Minor 2  Biology
etc.


and add the level as a dimension.