Terrible trade for the Devils. He was good once, but now? Giving up a first for him just isn't a good idea. What happens if he struggles next season? A first goes completely to waste. They should just have hired a goalie via UFA if this was the best trade available.
Akira Schmid who put up .895 this past season, and .922 the season before, yes.
Also, just the previous season, Markström himself put up .892 and with that level of performance, he wouldn't even be an upgrade.
He's 34 and you're either banking on him to improve(good luck), or you're banking on him to replicate the last season's mediocre performance instead of the previous year's(good luck), all the while paying a first for two years of him.
It's just a terrible trade, no matter the way you slice it.