Afghan government troops repulsed a fresh attack by Taliban fighters in southwestern Afghanistan and killed at least 18 of them.