UK government could face legal action over solar power cuts