Pats agree on 3-year deal with edge rusher Harold Landry, AP source says