Yodel has been saved from falling into administration in a last-minute rescue deal by a consortium.