Hamas leader touts ceasefire as a defeat for Israel while hailing Oct. 7 atrocities