Hamas chief heads to Egypt after Gaza-Israel flare-up