R-matrix analysis of reactions in the 9B compound system applied to the 7Li problem in BBN