Return empty graph for random 0-regular graph

There is exactly one 0-regular graph, namely the empty graph. A call to
`random_regular_graph(0, n)` now returns the empty graph on n nodes instead of
the null graph.