Bug 1323311 tried to improve browser.tabs.move, but the logic didn't really make sense (e.g. why use 2 different maps to track indices?), and it broke moving multiple tabs between windows: they would appear in the wrong order. Differential Revision: https://phabricator.services.mozilla.com/D166405