After two years of haggling, Congress has nearly reached a deal to rein in the drug-industry middlemen known as pharmacy benefit managers. Lawmakers agreed to extend telehealth flexibilities, fund public health programs, and enact these major PBM changes as part of a government funding package they are planning to pass before the end of the year, according to four health care industry sources and two congressional aides. The language of the government funding package has not been publicly released, and could still change.