local_variable_indices bugfix

This fixes a case of local_variable_indices returning a non-local
index, and adds an assert to see that it doesn't happen again.

-pc_type_fieldsplit works correctly in parallel now.