A class action suit alleged the grocery chain printed too many credit card digits on receipts, putting customers at risk of identity theft