The Islamic State’s men would turn aggressive whenever there were punishments to mete out, but between executions and floggings, Abu Ibrahim would see them relaxing in restaurants, gawking at Western Web sites in Internet cafés, or buying knockoff Viagra from the drugstores.