Remove Doomsday and unearned Death of Superman pseudo-adaptation entirely, Lex gets arrested for his crimes after Bats and Supes settle their differences.
That’s exactly how the film should’ve ended and it would’ve been the perfect narrative structure to pursue. They should’ve focused on the titular fight - and with a more convincing motivation for the belligerence than a rehash of the damsel in distress plot line. The (pointless in this context) Death of Superman and having them join forces to confront a planet threatening adversary could’ve been saved up for future instalments.