CR extension from manifolds of higher type