trim alignment dictionary to not include self alignments or redundant values

trimDictionary(edge)

Arguments

edge

Input dictionary.