Indiana to spend millions of dollars to fix flaw in 911 system