Lawmakers are floating a bill that would allow private developers to build and operate small-scale solar farms, drawing objections from utilities.