The corporate bond market has been flashing a signal that historically precedes bad news for the stock market.