First passage of a Markov additive process and generalized Jordan chains