Herschel observations of EXtra-Ordinary Sources (HEXOS): The Terahertz spectrum of Orion KL seen at high spectral resolution