Revert "Improve MIPS code generator"

This reverts commit bbc7d06508d05f47f277d21d993174cf84ad1d70.