Egypt’s prosecutor general tenders resignation