A class of Riemannian manifolds that pinch when evolved by Ricci flow