Sadio Mane scored the only goal in the Africa Cup of Nations semi-final as Senegal beat Egypt, with two former Liverpool teammates going head-to-head.