Remove unnecessary #dup

`constraints` is never referenced in `extract_parameterized_parts`, makes no sense to assign anything to it and then `dup`.