Remove unused type param for persist

I'm not sure this actually does anything to work around the scalac bug (https://issues.scala-lang.org/browse/SI-8757).