Address review comments.

 * Generalized doNewArrayOp so it can be used by both arrays
   types. This led to a small refactoring of the size helpers in
   SMRep.
 * Fixed code_size and can_fail issues in primops.txt.pp