Private equity company MidOcean Partners has agreed to buy a majority stake in functional accessories firm Totes Isotoner.