Remove redundant package dependencies.