Trader Joe’s agreed to a settlement over receipt concerns, and some customers may be eligible for a payout if the deal is approved.