Japanese stocks recover from Middle East tensions as oil prices ease