Shear flow instabilities induced by trapped ion modes in collisionless temperature gradient turbulence