Oil rebounds as Mideast tensions persist, but set for weekly loss