Improve code reuse in SSAFEM.

(I was making sure I understand how we enforce Dirichlet boundary
conditions.)