Di Maria strikes at the death to seal quarter-final spot