How does the funeral-prayer example differ from Wudu in the timing of the other purpose?

Quality of the Commanded Act: Intrinsic and Dependent Goodness