Districts across the country have struggled to improve access and diversity in advanced math classes for years. A new approach offers hope.