On a wild and nutty trade deadline day, the Yankees and Mets both operated coolly and ultimately wisely.