cache _eval_derivative for Add and Mul; prune non-s terms