NCAA and Power 5 agree to settlement to allow schools to pay