Tens of thousands of benefit claimants can expect to receive significant compensation after several major court battles, the DWP says.