[academic_query] fix undefined behaviour and remove need to be able to set ASTs
[academic_query] fix undefined behaviour and remove need to be able to set ASTs

SQUASHED: academic_query-remove-debugger-statement,

LivelyKernel/lively4-core,LivelyKernel/lively4-core