The rivals have downgraded their diplomatic and trade ties, closed their main border crossing and revoked visas for each other’s nationals.