Eyal Zamir says military 'created the conditions' for a captive deal with Hamas as Israel steps up attacks in Gaza.