Brewers, winemakers win after Labor backflip on bureaucratic bungle