Federal lawsuit may have been prevented if Brooklyn taxi company was chosen