A suicide bomber blew up his car outside a compound frequented by foreigners just after dawn Tuesday, killing four guards, as two other militants stormed the building in Kunduz city and engaged the Afghan police in a two-hour gunbattle.