I did end up using the /fill command, though the server crashed repeatedly. I couldn't understand why, but I got the idea of using /kill @e and that terminated all experience orbs that were lingering, which instantly solved the problem. That you for your suggestions.