Labour government advised no legal grounds for reimposing ban on consultant that followed South African ‘misconduct’