Report: Red Sox have agreement for Wade Miley