Cancer Evolution Constrained by the Immune Microenvironment