Fix Function.restrict for spaces on a Restriction.
Merge branch 'martinal/fix-function-restrict-issue'
Update for PETSc change (SNES_VI_INF -> PETSC_INFINITY)