Gap’s holiday-quarter profit is head and shoulders above Wall Street expectations and retailer speaks of a “reinvigoration” of its brands.