Target’s stock was falling as profit beat expectations, but the full-year outlook was trimmed and comparable sales declined for a third consecutive quarter.