Being a DH will significantly hurt Montero’s value, and even if he becomes a well-above average hitter, he will not be nearly as valuable as he would be if he could play defense.
As of today it looks like the Yankees got the short side of the stick. Pineda was fully healthy when the Yanks acquired him, it's just an unfortunate circumstance.