Close #2497.
Both `IsScriptCorrect` and `VM.Run` should never panic. Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>