Oil cools after biggest gain since Saudi attack on US supplies