Add missing assignment operator overload 

This assignement operator overload is needed to avoid falling back to the copy constructor, which will make the lhs function identical to the rhs function rather than the rhs function with the appropriate parameters substituted in. (closes #3971)