In 1987 the Royal Ballet controversially ditched the classical costume. Now, after painstaking effort, it is set for a comeback