refs #8095 use reset instead of = to free the shared pointer

in the expression written to avoid MAC hung-up problem