UK’s Hammond pledges to fight a no-deal Brexit from outside government