Boohoo Group has inked an agreement to acquire the Debenhams brands and websites in exchange for £55m.