What were the key factors that contributed to the passing of the Civil Rights Act?