Don't crash when optimizing and an 'if' has no 'else' block.
Add identifiers for "debug checkpoint" command.