In kharaja ilā Minā, kharaja is past tense and the prepositional phrase gives the destination. In fa-aqāma bihā, the pronoun refers to Mina.
Ḥattā yuṣalliya expresses the endpoint; the verb is subjunctive after ḥattā, and the endpoint is Fajr on the ninth.