Detroit bankruptcy is precedent for public funds