Fixed algorithm to only add local dofs

Still need to build PetscSF but FieldSplit appears to be working
for multiple processors now.