Weakened French PM vows to battle on “until the end”