On minimally nonpolar graphs