A Screw Syzygy with Applications to Robot Singularity Computation