Avoid capturing base values for empty compositable value stacks

Empty compositable value stacks do not require the underlying CSS value when they can just clear existing animation effects.
This is a modification of a change by timloh.