Irfan sparkles as Pakistan down Malaysia to enter semifinals