Merge adjacent entries in the memory map

Of course, they are of the same type