The coffee chain, which is undergoing an overhaul under CEO Brian Niccol to cut costs and reinvest in its stores, has been struggling with weak …