define _addsort/_mulsort to identify its usage in codebase
3730: use as_content_primitive and cancel

* also change the general expand to only _mexpand when computing expr2
  in simplify
factor_terms can remove radical from +/- base
simplify handling of -1 and I in Mul.flatten