nir,microsoft: Move scale_fdiv into a common NIR pass
While we're at it, convert to nir_shader_instructions_pass() to get rid of some boilerplate and get metadata correct.
While we're at it, convert to nir_shader_instructions_pass() to get rid of some boilerplate and get metadata correct.