NSW govt makes contentious decision over fears blackouts would derail renewable transition