The Yamato dies a few months earlier.
Halsey wasn't foolish, he was over aggressive. There is a huge difference. Foolish means that you had no reason to act the way you did, over aggressive means you act too quickly. Grant was over aggressive, McClellan was foolish.
Over aggressive can be costly, it is also a trait that helps your side win, especially if you have the advantage in numbers.
What did Halsey's actions at Leyte actually cost the USN? ONE CVE, two DD and one DDE. The Japanese lost THREE heavy cruisers attacking the Taffys (Chokai, Suzuya, and Chikuma) and had four more shot all to pieces (Kumano, Haguro, Myoko, & Tone) The battleships Kongo and Nagano, were badly damaged, and they lost a destroyer. Halsey left the Taffy exposed, no doubt. He also left the Taffys with 450 planes, or around 70 more than the Kido Butai used to destroy the Pacific Fleet at Pearl Harbor.
Was it a perfect fight? No. A fair fight? No. The Japanese were doomed.