Nova Ophiuchus 2017 as a Probe of 13C Nucleosynthesis and Carbon Monoxide Formation and Destruction in Classical Novae