Update select2.js

Fix an exception when called "destroy" on a still opened dropdown.