Make ARM/MIPS have less duplicate gadgets

also remove "invalid" gadgets