Judge dismisses no-deal Brexit court move