Man City's Mahrez hits late winner to send Algeria into Africa Cup of Nations final