Fix flatten_reply() to merge dictionary values instead of selecting one
of them arbitrarily. Refer to https://github.com/celery/celery/issues/1377
for more details including a test case.