Resonant optical soliton perturbation with anti-cubic nonlinearity by extended trial function method