Allow passing single DirichletBC when solving linear system