Oil falls to 3-month low as US-Iran deal shifts inflation outlook