A general way of analyzing EPR spectroscopy for a pair of magnetically equivalent lanthanide ions in crystal: A case study of BaY2F8:Yb3+ crystal