"AND ANY RESALE OR FURTHER DISTRIBUTION OF THE SOFTWARE, OTHER THAN AS EXPRESSLY AUTHORIZED BY THIS AGREEMENT, CONSTITUTES A BREACH OF THIS AGREEMENT AND MAY VIOLATE APPLICABLE COPYRIGHT LAWS."
"- You may NOT resell, charge for, sub-license, rent, lease, loan or distribute the Product without our prior written consent. We reserve the right to withdraw any such consent (or part thereof) for any reason and without notice and to demand that you immediately cease any activity in respect of which permission is withdrawn."
The package script comes to the official distribution point to download the software. This is technically no different than what a human would do.
Legally speaking, the Chocolatey package for CCleaner is not reselling, charging, sub-licensing, renting, leasing, loaning and is not distributing the software. That means legally there is no violation of any distribution agreement because the package doesn't distribute any software, it only has a script that knows how to download and silently install the software.