Workaround for epsilon_greedy_policy assuming info_spec is a named tuple.
Workaround for epsilon_greedy_policy assuming info_spec is a named tuple.

Only do _replace if info_fields_to_inherit_from_greedy is set.

PiperOrigin-RevId: 390752961
Change-Id: I9b925b5140fc4fc4cac8edcd2dab9ada6592369b

tensorflow/agents,tensorflow/agents