Suicide attackers set off two car bombs at a hotel near the headquarters of Somalia’s Criminal Investigations Department in Mogadishu on Friday, killing at least 17 people, police said.