AMA apologizes for past racist policies