A......... [ZBX-8448] fixed the order in host and template massremove method so that groups are unlinked last