Fix multiple references to the same argument

E.g. `(+ %1 %1)` works now.