Remove redundant dependencies from POMs