Revert "Remove dead TOKtobool and Bool"

This reverts commit d65bd1dc42cb4a25f2e8c6a264ba40e49d155d47.
Revert "Remove unnecessary class BoolExp"

This reverts commit eb1158e0daf6099efbad37e89d5d9f512cab6401.
Add test case for Issue 11805 - Removal of Bool has critically broken expression evaluation