U.S. equities finished higher in a choppy trading session.