Improve rem() to avoid duplicate values

If `@include rem(padding, 0);` is used, then this patch stops an output of `padding:0;padding:0;`.