Accept Boolean expressions outside of @if-statements (#13794).

Change-Id: I2be1085c913a82892e964b9b8c6f177a9537a0f3