An airstrike in northern Mali killed at least 18 people, a separatist group said, while the army says it targeted armed militants.