The Trump Foundation used cash raised for veterans to fund his campaign, a New York judge rules.