Islamabad seeks economic backing while balancing new defence commitments and a volatile regional security landscape.