Preprocess nt patterns in pattern unification.

Specifically, correctly handle cases where an nt
production has named patterns.