Omnicare agrees to settle federal kickback lawsuit