Egyptian plan would see terror group Hamas sidelined in governance of coastal enclave; issue to be discussed at end of month in Riyadh