The BBC has agreed a settlement with four of its female news presenters over employment tribunal claims including age and sex discrimination.