The BBC has apologised for its response after allegations about Scott Mills were raised with the broadcaster last year.