Court strikes down ban on outside income for state lawmakers