A monthslong campaign by homeowners to stop Baltimore Gas and Electric Co.’s controversial practice of installing gas regulators on the facades of city homes has been resolved in residents’ favor.