Pakistan score consolation T20I win as Afghanistan take series