Minn. high court tosses shutdown spending lawsuit