The destructor for LinearHashingFile. It's used to close the index and does some cleanup such as unpin the header page and release the Intentional Shared lock on root page.