IDF: Hamas 'lost control' over Gaza Strip