[dirserv.c] break up complex conditionals

There were some crazy long ones in dirserv_set_router_is_running,
which have been refacored out to functions.