‘Decision to rerun Istanbul elections based on law’