Description
Related to TEZ-1911 (since it got committed already, created this jira)
If there is only one segment left out in intermediate mem-to-mem merging, it does an early exit. But before that it should add the segment back to inMemoryMapOutput so that it can be considered for merging later.