Detroit bankruptcy judge blocks $165 million payment to banks