I was a partial year resident in MA, and moved July 1 to NC, so exactly 6 months in each state. I earned interest on two of my investment accounts (1099-INT) only during the time I lived in NC, opened after moving. How do I ensure I'm not paying taxes to MA for that interest earned after I left the state?