In my 1987-1988 (Page #696) and in the 1990 FSM (page #342), the headlight switch is wired direct from a fusible link connected to the starter solenoid (1987) or the starter relay 1988 and 1990.
I've hesitated to post this because it conflicts with posts by members that are more knowledgeable than I am.
I'm aware that OPs Jeep is a 1989. The above post by Anvilrob shows the #8 fuse as power to the headlight switch. I believe that circuit is for other lighting (turn, park and tail lamps) as shown in my '87-'88 FSM and the '90 FSM in GIAL's signature.
In order to help the OP suss out his headlight problem, I ask other posters to confirm or reject what I found. In my FSM the fusible link is green and connects to a 12 Gauge red wire running directly to the headlight switch.
If I was OP, I'd check for power at the 12G red wire, terminal "C", (not the thinner 16G red wire, terminal "E") at the headlight switch. If the heavier 12G red wire had power, I'd open the switch and clean the contacts. Then, reassemble with all the contacts covered in new dielectric grease. If after cleaning the innards of the headlight switch the headlights still don't work, I'd replace the switch.
If there was no power at the 12G red wire, I'd check the fusible link at the starter relay. Look for a wrinkled or bubbly area between the starter relay and the 12G red wire.
No power to fuse #8 could be caused by a fried fusible link as stated in the above paragraph. Check the schematics in the '90 FSM (Page #342).
Let us know what you find.
Good Luck, L.M.