How about;
The mutation functions in a way that increases survival, in the same way that a fallen tree can function as a bridge without any initial human purpose for the fallen tree.
That leads me to a question;
If a tree falls across a river and no one is there to use it, does it have any function?
Does your brain have a function?
Does your brain have a purposeless function, or does it function for a purpose?
--Dave