The 'pending' flag is not cleared on a consensus correctly in all cases
We don't clear the 'pending' flag on a consensus if we don't have to download any additional microdescriptors to notice that it is usable.
Also, it might be a good idea to clear the 'pending' flag every time we notice that we have a usable directory on startup, to work around old cases of this bug.