The ruling leaves New York City's tax on luxury second homes in place but wipes out the thousands of warnings the city mailed this summer.