Afghanistan upset Pakistan with Rasooli’s undefeated knock