Court rejects NYC's efforts to cut back wind up shops