Physically confining malignant cells prevents runaway growth