Riverhead Town has cut ties with the master developers tapped in 2022 to redevelop the blighted area near the Long Island Rail Road station with housing and shops.