On the k-Layer Planar Subset and Via Minimization Problems