Replace aborts with throw
Created by: stephanemagnenat
The Aseba compiler currently aborts when an unexpected internal situations arises. It is arguably a bad idea, as Studio is not catching this. It is probably cleaner to replace abort()
by throwing an InternalCompilerError
.