Chevron seals $1.24bn deal with YPF