Blockly_lib: avoid generating code when using too many blocks
Blockly_lib: avoid generating code when using too many blocks

Safeguard against validating solutions with too many blocks.

be-oi/beoi-contest-modules,be-oi/beoi-contest-modules,France-ioi/bebras-modules,France-ioi/bebras-modules