Avoid another NPE in Partial.with

Fixes #95