Venezuela agrees to gradually reopen Colombia border