Sums of commutators in ideals and modules of type II factors