I would call it a some sort of consolation, even though it's still a victory. Pakistani cricket teams victories are generally by chance. You can never predict if they are going to win based on their performance record. The most undependable team it is!
On some days they can loose from Bangladesh or Ireland for that matter and on some good days they can win from Australia.
Nevertheless, it was a needed consolation after the worst defeat they had from India.