Greens and trade unionists will fight cuts together