Fix directional-property

An unnecessary loop was overwriting the $vals argument, outputting only
the last value. This change does not effect mixins that use
directional-property.