More than 5,000 out-of-state voters may have tipped New Hampshire against Trump