Oil falls near $40 with supply constraints beginning to ease