Transitive holonomy group and rigidity in nonnegative curvature