Revert "add removePackage() to RepositoryInterface"
Revert "add removePackage() to RepositoryInterface"

This reverts commit cfb0d33c4525d30cd5c283d0c6ac4b389e8b3cd7.

Fixes #7634

composer/composer,pierredup/composer,localheinz/composer,fabpot/composer,stof/composer,johnstevenson/composer,andrerom/composer,stefangr/composer,floverdevel/composer,naderman/composer,staabm/composer,milleruk/composer,nicolas-grekas/composer,alcohol/composer,slbmeh/composer