Israel agrees to 4-hour pauses to let people flee Gaza