Shaheen Shah Afridi and Hasan Ali struck early, but Pakistan lost the initiative as the first session wore on