Colombia's top military commander resigns following a probe into the extrajudicial killings of civilians.