Separating 39Ar from 40Ar by cryogenic distillation with Aria for dark-matter searches