The astronomer's foreknowledge does nothing to "cause" the eclipserather his knowledge of what is to come proceeds from an intimate familiarity with the workings of the cosmos.
Only once a new scientific discovery occurs do proponents of scientific foreknowledge scan the text to look for a verse that can be said to have predicted the latest discovery.
In a war fought with faster-than-light technology (equivalent to time travel), each side has foreknowledge of the other's actions and can develop counter-measures to plans before they are made.
That is, they believe, by virtue of his foreknowledge he knows what will influence individual choices, and by virtue of his omnipotence he controls those factors.
Thus, since the process only works in reverse and the text can not predict new discoveries, the text can not be said to contain scientific foreknowledge.
The official is assassinated during his travels, and the circumstances of the assassination strongly suggest that the assassin had foreknowledge of the official's travel plans.