Prime virtually semisimple modules and rings