BGL: Loops in undirected graph