Jason Dufner provided a rare success for the United States on the final day at Medinah as he held off a valiant fightback from Peter Hanson.