France's biggest fashion retailer Vivarte has sealed a major financial restructuring deal with its creditors, ending six month's of uncertainty over the company's future.