RPLAC[AD] should return their first argument, not the second

Fixes a bug introduced in the new code generator