Charity that looks after retired racehorses earns rare accreditation