Parameter type-safety

Avoid unsafe conversion to `ParameterValue`, refactoring `None` and `NotAssigned` cases as others provided `ToStatement` (+ documentation).