Pakistan's Imam-ul-Haq declared fit to bat after warm-up injury