Key role of 1-isobutyl-2-methylimidazole in the synthesis of pharmaceutical intermediates and process optimization