Legspinners key in Pakistan's pursuit of victory