In قُتِلَ الْكَافِرُونَ, the singular passive verb is correct before the explicit plural نائب الفاعل.

The Passive Past Tense