Wall Street ends solid 2016 on dour note