Judge limits prosecution in Minn. terror case