Hamas has released four female Israeli soldiers held in Gaza and 200 Palestinian prisoners have been released from Israeli jails as part of the ceasefire agreement that halted more than 15 months of war.