Judge rules Detroit bankruptcy filing is unconstitutional