Scheduler: Added support for x = inner_prod(x, y) * y; and friends.

Arbitrary scalar expressions can now appear as prefactors of vectors.