Index set out to make a grocery aisle behave like Amazon. The detour through slow chip cards, legacy cash registers and one very fast dip is the useful part of the story.