Fix a bug in d3.merge optimization.

The d3.merge operator must always return a new array, but it wasn’t in the case
where a one-element array was passed. This implementation is still quite fast
but always returns a new array.