A late Moises Caicedo header gave Chelsea a hard-fought 1-0 win over minnows Pafos and boosted their automatic qualification hopes for the Champions League last 16.