Role of dimension-eight operators in an EFT for the 2HDM