Senegal have been reinstated as 2025 AFCON champions after the Court of Arbitration for Sport upheld their appeal.