Replace current shell

This does more than `reset`, including discarding function definitions.