Chromosome instability drives phenotypic switching to metastasis