SNP MSP Fergus Ewing has passed the election vetting process for the next election despite reports he could be barred from standing as a candidate.