[mips] Delete unused classes and defs.