Cleanup some options in Expr.compute_leading_term and calculate_series