Changed compilation logic such that it is no longer necessary to append
a pop instruction after each expression which behaves as a statement.
Instead, each generation detects whether an expression is to be
generated or a statement.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>