Stirling Group, which supplies women's underwear to Marks and Spencer, is to be taken private in a management buy-out.