Update igraph_rewire_edges