clear the Function0 reference of Need

inspired by sbt [`SafeLazy`](https://github.com/sbt/sbt/blob/v0.12.4/compile/api/SafeLazy.scala)

old version https://github.com/xuwei-k/scalaz/commit/e52825eb3d1dbcd