Misbah-ul-Haq and Asad Shafiq rescued Pakistan from a perilous 3 for 2 to be 3 for 80 at stumps on day three of the first Test against the West Indies, as the tourists chased down a 219-run winning target.