The curators, both working on the Art Institute of Chicago’s first show dedicated to Salvador Dalí, were researching his painting “Visions of Eternity,” which was dated to 1936 and had been held in the museum since the late 1980s. But red flags were mounting.