The Conley index, gauge theory, and triangulations