Arrested militant admits beheadings role: Indonesian police