Fixed a bug where using constructParams and shareInstances together
would not share instances defined in shareInstances with classes defined
using new \Dice\Instance() in constructParams.