Azhar Ali and Asad Shafiq hit centuries to leave Pakistan in command of the third and final Test against New Zealand in Abu Dhabi despite a batting collapse that curtailed their first-innings…