I believe those would be called repeat buyers under the Bank of Canada methodology because the Transunion data should connect their new mortgage with the discharge of their previous mortgage.
The one clear reference in the article strongly suggests they'd be categorized as an investor: "The central bank defines an investor as a buyer who took out a mortgage to buy the property while maintaining a mortgage on another home."