Four female Israeli soldiers who were taken hostage by Hamas in the terrorist attack on October 7 have been released.