The role of strain accommodation during the variant selection of primary twins in magnesium