On the commutative-transitive kernel of certain infinite groups