Remove unused private method ParameterMap::retrieveParameter.

Refs #9802
Add a test for the paramter values after copying between maps.

Refs #9802