Automaker must also invest $12 million in workforce and education needs near the former Lordstown plant closed last year.