I think Biden is better off facing Trump.
Trump voters are "dyed in the wool never going to change their minds" voters and Trump would never attract Democrat voters to vote for him.
Hayley, however, could pick up all of Trump's voters and potentially steal a proportion of the Democrat vote leading to a win.
So, push comes to shove, Trump is better for Biden.