Egypt manager Carlos Queiroz was sent off for dissent late on during normal time in the AFCON semi-final against Cameroon.