The money includes an $8-million grant and a $9-million loan, to be repaid over 12 years, to Magellan Aerospace.