4,000 Egyptian civilians referred to military tribunals