Modelling magnetostructural textures in magnetic shape‐memory alloys: Strain and magnetic glass behaviour