When, why and how tumour clonal diversity predicts survival