Target missed on earnings and revenue even as it cut prices on thousands of items, including milk, diapers and toys, to try to attract discerning shoppers.