Sorry to hear about your troubles. I can't speak for other specialties, but for FM, it seemed like a lot of programs cared more about the right "fit" and interest in the field rather than looking at scores alone. Some programs have a first pass requirement for the CS (and perhaps the CE), but there are others that don't.
There are hospitals that accept post-graduate externs to rotate through different departments. You could pay for a couple of these rotations to get yourself fresh LORs. Mission trips abroad are also another possibility. There are some trips that are run by faculty attached with residency programs. Volunteering at clinics would also look good if your intent is to apply to fm.
You've made it this far. With a little extra push, you will match. Don't give up. Good luck.