Israel withdraws most troops from Gaza