[mips] Replace usage of SmallSet with BitVector, which is used to keep track of