Stocks end mixed after another wobbly day on Wall Street