22 IS militants killed, 2 captured in Afghanistan