BDO partners in line for windfall after $1.3bn debt deal with Apollo