Prepare to factor out petsc_auto_fieldsplit code
Factor out petsc_auto_fieldsplit code