add subcmd to repair some persistent state
The particular repairs implemented here are desirable because we used Conduwuit briefly, and they had cherry-picked changes from a draft Conduit MR that introduced database corruption. See also here.
Depends on !130 (merged) and !131 (merged).
Edited by Charles Hall