De-templatize testimm since IndexedMemoryRef is gone.

Reviewed By: @bertmaher

Differential Revision: D1426437