Teachers agree to call off strike