polynomial: remove dead code in derivative test.