Unilever and Tesco have reached an agreement that will see the consumer goods giant resume deliveries of brands such as Marmite, Magnum and Knorr.