Twitter Reaches Deal with Activist Fund That Sought C.E.O.’s Ouster