The discount retail giant said traffic and sales moderated in the second quarter after a strong initial wave of demand.