Penwest shares dive as pain drug flunks endpoint