Statistically, all people, Black or White, are safer around strangers than their own families.
Statistically, middle class and wealthy neighborhoods are safer than poor neighborhoods.
If you take the statement "Blacks are safer around Whites than each other" as a problem to be solved, there are only two ways to solve it:
(1) Remove Black people entirely: deportation, banishment, extermination being the possible methods.
(2) Forced integration of Black people among White people.
I think that either of these "solutions" is inherently racist and illegal under current laws. For a legal code sympathetic to these methods, you would have to investigate the Third Reich.