remove redundant via