City leaders just ironed out a deal with plaintiffs in a longstanding lawsuit over misuse of Houston's drainage funds.