The idea that you can own music is fundamentally absurd, and enshrining it in law will inevitably and perpetually lead to absurd cases like this one. Music is, has always been, and will always be a collaborative process of communication, reference, and remix, the more so the more popular the music is intended to be; if you made music which was truly and wholly novel, borrowing nothing from any other musician, it would sound like noise and almost everyone would hate it.
It's unfortunate that the melodies of the offending sections are so similar. But if the bassline to "Ice Ice Baby" (Vanilla Ice) holds up to Queen's "Under Pressure," this conflict has no chance.