Completeness on the worm domain and the Müntz–Szász problem for the Bergman space