Uruguay completed their Group D recovery and qualified for the FIFA World Cup knockout stages with a late 1-0 victory over Italy courtesy of Diego Godin's goal.