N.Y. nears $2B unemployment deal for illegal immigrants