Well the reason I suggesting shooting the Outcasts first is that shooting Corsairs will fix your now-damaged Outcast rep. IMG-style reps are the opposite, since Corsairs somewhat affect Kusari reps which you'll want to fix last.
I'm not sure if you're aware but there are rephacks that serve as limits to how friendly you can be with certain factions. You can find them here.