Funding for voucher program ruled unconstitutional