Bain considers legal action against UK over state contract ban