Tomáš Berdych came within inches of a second consecutive defeat at the ATP World Tour Finals on Wednesday but rode his luck to beat Serbia’s Janko Tipsarevic 2-6 6-3 7-6 at the O2 Arena.