Partial continuity for elliptic problems