[mips] Simplify code.

No intended functionality changes.