Afghan militia commander freed after 'several killed' in protests