Right-hander Blake Treinen and the Dodgers are in agreement on a two-year, $22 million contract, sources told ESPN