The retailer’s shares plunged 20% after it posted weak earnings and said rising retail theft was sapping its profitability.