Importance of closed quark loops for lattice QCD studies of tetraquarks