Fix generics in HashMutableEdgeLabelledDirectedGraph