FDocumentTracker::CleanInvalidTabs

Cleans any invalid tabs, either moving them to a valid place in history or closing the tab altogether