Density-Balancing Mask Assignment for Via Patterning with Directed Self-Assembly