A new collision would similarly send debris flying all over the solar system and melt Earth 100% through. And while the new planet would eventually reform and cool down, it's anyone's guess if it'd be habitable.