Non-generators in extensions of infinitary algebras