A public-private partnership used by some towns to deal with vacant and abandoned "zombie houses" is "arbitrary, capricious and unreasonable," a New Jersey judge has ruled.