Identifying and fitting eclipse maps of exoplanets with cross-validation