City officials hope a judge’s ruling allowing bankruptcy will release Detroit from the grip of creditors and move it toward recovery.