Fixed bug in graph slicer

Previous the slicer would keep only one edge between nodes even if
multiple edges existed (with different labels). Now it keeps all of the
copies.

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>
build updates

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>