Eighteen Senegalese football fans jailed for hooliganism during the Africa Cup of Nations final in Rabat have been pardoned by Morocco’s King Mohammed VI.