The effect of migration on metapopulation stability is qualitatively unaffected by demographic and spatial heterogeneity