Judge clears path for Detroit bankruptcy case