Rachid Alioui’s superb curler gave Morocco a quarter-final place at the expensive of the defending champions