Two former executives who alleged they were illegally sacked and bullied have settled with the hardware chain and food wholesaler and withdrawn their allegations.