Planned cease-fire fails as Egypt's prime minister visit Gaza