Pedralba agrees to deal with Pistols