Federer admits he got lucky after coming from a set down, and saving two match points in a third-set tie-break, to beat Borna Coric 2-6 6-4 7-6.