Tidal damping of the mutual inclination in hierarchical systems