A retailer can sell more and keep less. Logic, now part of Accenture, works in the awkward space between a promising shopping experience and the systems that make it pay.