The Detroit Pistons have agreed to a deal with Hamidou Diallo, their final remaining restricted free agent. Diallo agreed to a two-year, $10.4 million contract to remain with the Pistons on Thursday.