Properly fix canSplit for null elements in typesAfter
Properly fix canSplit for null elements in typesAfter

Issue #4

FIX: Fix crash in canSplit when an array containing null fields is
passed as fourth argument.

ProseMirror/prosemirror-transform