Shape-independent approximation for Bose-Einstein condensates interacting through a van der Waals potential