Judge rejects court action against Boris Johnson over £350m Brexit claim