Jeff Samardzija told Theo Epstein he would dump his girlfriend to focus on improving