Pakistan win in a dead rubber