If they're going to bring back the magic triangle then diversifying the growth stats on mages/priests/druids is a must and characters themselves have to have inherently different stat growths like they do for the physical dmg characters.
Otherwise what I think they could do to mitigate some the defense flaws with stacking Magic res on these classes, would be to borrow a piece of the magic system from Dark Souls where certain types of tomes deal physical Dmg instead.
And in all honesty, type advantage stops being relevant towards late game anyways. Your characters can only do so much damage, they are still squishy against a Killing Edge Swordmaster. It turns into the same late game the Weapon triangle has, anyone remember Amelia, aka Sonic the General. Even if an enemy could land a hit, they literally did 0 dmg like 2 times with their brave weapon. Shit I happened to use Ike like 24/7 on PoR and leveled him up to 20 way before his forced promotion and he was a god for the rest of the play through. There will still be broken characters no matter what, but that's what makes the game unique.