State Supreme Court overturns Invest in Education ruling