A judge has dismissed a bankruptcy petition lodged by tax officials against former Watford star John Barnes.