Indonesia’s president regrets country’s past rights violations