Never wheels up, land on the remaining ones, much safer than engines on ground scraping along wheels up like a fantasy movie.
Reduce weight as much as possible, standard operation in this case.
The fly by could be to allow tower controllers to see (and possibly engineers invited to observe from tower view) what the actual problem is as in the flight deck indication may be that gear is not up but equally not down, unable to establish in what position the gear actually is.