Egypt court revokes jail terms in foreign funding case