Rangers agree to terms with Brandon Pirri on $1.1 million, one-year deal 