Students will not have to memorise maths formulae next year, a move which school unions want to make permanent.