Ionic liquid pretreatment of lignocellulosic biomass