About 40 terrorist Gazans who were detained in Israel were released earlier