Coventry Blaze survived a strong Cardiff Devils fightback to beat the Welsh side 5-4 in the Elite League.