Gaza militants are due to release three Israeli hostages on Saturday in exchange for 369 Palestinians in Israeli custody, the sixth swap of a truce that came close to collapse this week.