Partial regularity for elliptic equations