How major US stock indexes fared Wednesday