[TIMOB-15544]iOS: Clean out tabs before the rootWindow is lost.
Merge pull request #5166 from srahim/timob-15544

[TIMOB-15544]iOS: Clean out tabs before the rootWindow is removed.