Oil dips after three days of gains