Fix overwrite in merge for multiple MapReduce responses.

Merge would silently overwrite previous results from the same MapReduce phase. This seems to have come up when there were multiple response arriving subsequently for the same phase.