Teaching evolution key to free school funding deal