pruning chebfun.m