Hamas' Gaza chief says group ready to release all hostages for end to war