France fine-tunes pro-reform cabinet after rebel ministers ousted