Unilever has accepted an offer for its spreads arm from private-equity firm KKR.