The discount chain has reached a $2.6-million settlement in a national class-action lawsuit over environmental fees applied to products like batteries, electronic toys and light bulbs.