Five months after it kicked New Yorkers out of trusted traveler security programs in a spat over immigration policy, the US Department of Homeland Security has reversed itself and told a court it had misrepresented the facts in a lawsuit over the matter.