Deif was second in command of the militant group and described by Israelis the mastermind behind the Oct. 7 attacks.