Fixed|libdeng2|ConstantRule: Only invalidate if value actually changes

A perf problem was caused by RuleRectangle updating the outputs in
such a manner that caused ConstantRule to be always invalidated.

Todo: Perhaps RuleRectangle could be better implemented with
IndirectRules?