Judge criticises ‘unreasonable’ case that tycoon’s Northern & Shell brought against Gambling Commission