Former first minister Nicola Sturgeon is no longer under investigation by Police Scotland amid a probe into the SNP's funding and finances.