An MIT study finds NBA teams that hired more analytics staff, and invested more in data analysis, tended to win more games.