NNLO corrections to top-pair production at hadron colliders: the all-fermionic scattering channels