The DIY retailer has struggled as customers cut back on spending amid the cost-of-living crisis.