Israeli forces have begun pulling back from a key corridor through Gaza as part of its ceasefire deal with Hamas.