Merge duplicate mappings while generating a source map from SourceNode

This results in smaller maps.