NBA takes legal action against Players Association