Flatten codes
_reserveCloseNeedlessGroupTabParent() should receive the closing tab instead of the parent tab.

Because another similar method _reserveCloseNeedlessGroupTabSibling() receives the closing tab.
Collect strongly related codes