Investors got whipsawed on Wednesday as the bond yield curve inverted a second time, creating uncertainty about a recession.