Fakhar Zaman was dismissed with the second ball as Pakistan made a bad start in pursuit of their target of 228.