Competition of single and double rescattering in the strong-field photoemission from dielectric nanospheres