Windies defeat a ‘wake-up call’ for Pakistan