South Africa's fall from emerging markets grace has been a boon for Egypt, which has overtaken it.