ScopDetect: Remove some redundant semicolons