Legislation to open the door for small plug-in solar panels hit roadblocks, including safety concerns raised by the state’s electrical workers union