Oil dips near prewar levels with Gulf shipping resumes