Make partialsum results an output of WeightActs.

This allows Theano to manage it and (optionally) disable garbage
collection of it between invocations.