Hamas in consultations with Palestinian factions over Gaza ceasefire