Gap’s bet that customers want their jeans to act like Spanx is paying off