Gradient flows from an approximation to the exact renormalization group