Application of the generalized Veneziano model to K−p → π−π+Λ