A measure of striatal function predicts motor stereotypy