He was signed with an eye beyond the current season, as insurance in case they lose Baynes.
Van Gundy is willing to take risks. If it looks like Baynes will get $15m/year, I think SVG is more willing than most to trade him instead of letting him walk for nothing. How much would you pay for a rental of Baynes at the trade deadline?