Los Angeles has been sitting on a contract for record-cheap solar power for more than a month — and city officials declined to approve it because of concerns raised by the city-run utility’s labor union, which is still fuming over Mayor Eric Garcetti’s decision to shut down three gas-fired power plants.