Big bets against Israeli stocks before Oct. 7 suggests someone may have known about the attack in advance, a new study says.