As wealthy towns go electric, who will pick up the tab for aging gas infrastructure?