Israel mulls ties with a changed Egypt