nir/opt_if: Re-materialize derefs in use blocks before peeling loops