Fix compiler generating unnecessary semicolons after a nested command with a block argument