The Interior Ministry said four security officers and a second gunman were wounded in the firefight , which erupted when police stormed a suspected militant hideout .