I'm not sure about function of ref2 figure.
As for ref one, there is no way you can drop the resistor while keeping its constant gm nature.
Actually, resistor is its gm reference, you need a reference of some sort, right?
I assume this is a current reference on chip. Then usualy the R is there to compensate the temperature tracking. There are ways to do so but it is a bit different architecture of CS