fix squarefree decomposition over function fields
ssred scripts