U.S., Oregon agree to phase out federal agents from Portland