According to the terms of the deal, Bain has agreed to acquire a 51 percent stake in Milacron for $287 million.