(CNN) — An Army general who oversaw the US withdrawal from Afghanistan was promoted to a four-star officer after a Republican senator dropped a hold on his nomination, according to a Senate aide.