Duncan Smith loses court battle to claw back benefit payments