Improved Characterization of the Astrophysical Muon-Neutrino Flux with 9.5 Years of IceCube Data