imidazoleglycerol-phosphate dehydratase activity of imidazoleglycerol-phosphate dehydratase (LOC_OS04G52710.1) [plastid stroma]