Strong thermal-history-dependent magnetoresistance behavior in Ni49.5Mn34.5In16