The militants killed at least 30 Afghan soldiers in their first major attacks since a temporary truce.