While major questions remain about the future of Hamas and Gaza, the exchange of hostages and prisoners marked a key step toward ending the deadly war.