To get rid of a Moshling, you need to catch a new one. When prompted asking if you want the new Moshling, press no, and the game will take the old Moshling away in its place.