The Syrian government and its allies have been gearing up for an offensive to recapture the last remaining opposition enclave.