THE NANOGRAV NINE-YEAR DATA SET: ASTROMETRIC MEASUREMENTS OF 37 MILLISECOND PULSARS