st/nir: Call nir_remove_unused_variables() in the opt loop