Kazakh court annuls law on first president