OPEC, allies agree to cut oil extension to end of 2018