Bond investors are going on defense as the outlook for the Federal Reserve’s interest-rate cutting path turns more uncertain.