Oil posts slight losses in week ending April 7