remove duplicate key 'hamming' in METRIC_MAPPING

A minor issue:
There are 2 <code>'hamming'</code> keys in METRIC_MAPPING, so I removed the 2nd one.