Bugfix: local map was sharing memory and thus doubling result.

The result was Reduced into ans.  When map was local, ans already
contained the results, so the ones with '+' reduction were
doubled.