Remove unused global.activeinstances variable

Refs #2886