Farah wins final track race in Britain