On the vanishing of cohomology for certain unitary Shimura varieties