Some retailers are starting to abandon self-checkout lanes just a few years after installing them. One key shift explains why.