scaffold: Remove invalid edges

* Scaffold/scaffold.cc (InvalidEdge): New functor.
(main): Remove invalid edges.
* Common/ContigProperties.h (EdgeWeightMap): Print an error message if
an edge is invalid.