This is not a problem unique to the military.
I saw many cases in industry, where the only way to rid yourself of an undesirable was to promote them away from your location.
I know it was the cowardly path, and I never agreed with that tactic, but those "connected with a sponsor" were difficult to reprimand, or give poor appraisals.