move some theorems out of compilerProofScript.sml

and minor reorganisation