Investors sent $4.21B into precious-metals funds as global equities posted their first weekly outflow since May 20.