Implications of the Holst term in a f (R) theory with torsion