Microgrids’ ability to provide energy resilience raises policy questions “particularly with regard to cost allocation,” say state regulators and energy officials.