Index and fundamental group of a lamination