Russia signed an agreement to restructure $3.15 billion of debt owed by Venezuela, throwing a lifeline to a crisis-wracked ally that’s