Outstanding team-work saves a boundary for Pakistan in the deep