Fix V initialization in PolicyIterationModified

`V` was initialized with the wrong dimensions for undiscounted MDPs in `PolicyIterationModified`, which caused an exception to be raised in `_bellmanOperator`.