Israeli officials tell NYT that exchange agreement stems from broader informal understandings, which include Iran limiting its nuclear work and halting proxy attacks on US forces