Bailey to farewell first-class cricket