Introducing stretch is a unique opportunity for such a change.
APT doesn't have a functionality similar to APK's virtual, but looks this could be enough:
apt-get purge --auto-remove -o APT::AutoRemove::RecommendsImportant=false $PHPIZE_DEPS
Certainly, docker-php-ext-install would need to be also modified to re-install $PHPIZE_DEPS.