Fast Direct Solver for Hierarchical Off-Diagonal Low-Rank matrices