r300/compiler: Refactor the radeon_pair code to support control flow instructions