Matt Judon agrees to deal with Patriots