Remove leftover variable.

(cherry picked from commit 0c132d4e0fc3af079682753624149e58d819d052)
InstantiationDependent is dependent, too; fix logic. (ROOT-6650)

(cherry picked from commit a00a2d4927aec9b5aa320b0b3aab08011d5b7dea)