Putin ratifies deal for Russia to use Syria base indefinitely