Effective-field theory analysis of the τ− → η(′)π−ντ decays