JJ Redick agrees to two-year, $26.5 million deal with New Orleans Pelicans