modify simultaneous subs to avoid dummy variables

While subs is smart enough not to put a Number into a dummy
variable of something like Derivative, xreplace is not so
simultaneous subs (which uses xreplace) is modified to use
a product of dummies to so subs will ignore the Derivative-like dummy
variables.
Merge branch 'smichr-const' into fix_7426