Facebook loses Chris Cox, its longtime product chief, as Zuckerberg plots a strategic shift