The legislation averts proposed service cuts and fare hikes with $1.5 billion in funding for Chicago’s public transit network.