For decades, casinos scoffed as mathematicians and physicists devised elaborate systems to take down the house. Then an unassuming Croatian’s winning strategy forever changed the game.