Magnetic transformations in the organic conductorκ-(BETS)2Mn[N(CN)2]3at the metal-insulator transition