Israel, the United States and Hamas are close to an agreement to free dozens of women and children held hostage in Gaza, in exchange for the first sustained pause in conflict in Gaza, according to people familiar with its provisions.