optimized NonEmptyList foldRight1. avoid stack overflow

Cherry-picking pull request #425