Value retail operator Peacock Group has agreed to be acquired by a group including company managers for £404.4 million.