Afghan forces end ISIL attack on ministry in Kabul