Merge pull request #636 from sjrd/fix-some-ir-types

Fix some IR types
Fix #640: Escape arguments to partest in matrix
Merge pull request #641 from gzm0/fix-partest-matrix

Fix #640: Escape arguments to partest in matrix
Fix #642: Move partest to blacklist, since it depends on execution time
Merge pull request #643 from gzm0/blacklist-partest

Fix #642: Move partest to blacklist, since it depends on execution time
wip
Fix IR type of parameters in JavaScript functions.
Fix IR type of () -> undefined conversion.
Fix the IR type of matches in statement position.