The Department for Work and Pensions has confirmed that 57,000 benefit claimants will receive payouts totalling up to £5,000 following a court ruling.