Egypt seeks ways to end Fatah-Hamas rift